A good answer might be:

In the picture, what is the contents of:

(It is customary to show bit patterns with a space every 4 bits. The space is not actually part of the pattern.)

Reading and Writing Memory

The processor can do two fundamental things with in main memory:

  1. It can write to a byte at a given memory location.
    • The previous bit pattern in that location will be destroyed.
    • The new bit pattern is now saved for future use.

  2. It can read a byte from a given location.
    • The processor gets the bit pattern stored at that location.
    • The contents of that location are NOT changed.

For example, if the processor needs to get the byte stored at location 5, it can read it. It gets the byte "0110 1110" as the data it needs (but location 5 in memory does not change.)

Most processors can write (and read) more than a single byte at a time. This speeds things up. But the two operations above are fundamental. You may have heard talk about the new 64-bit processors and 128-bit processors. A 64-bit processor can read and write 64/8 = 8 bytes at a time.


QUESTION 9:

Say that later on the processor needs to save the byte "1111 1111" and picks location 7 for this. How will main memory be changed?